﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020004CF RID: 1231
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EvolveBuildReRandomStageScRsp : IMessage<EvolveBuildReRandomStageScRsp>, IMessage, IEquatable<EvolveBuildReRandomStageScRsp>, IDeepCloneable<EvolveBuildReRandomStageScRsp>, IBufferMessage
	{
		// Token: 0x17000FF7 RID: 4087
		// (get) Token: 0x060037B0 RID: 14256 RVA: 0x00099B77 File Offset: 0x00097D77
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EvolveBuildReRandomStageScRsp> Parser
		{
			get
			{
				return EvolveBuildReRandomStageScRsp._parser;
			}
		}

		// Token: 0x17000FF8 RID: 4088
		// (get) Token: 0x060037B1 RID: 14257 RVA: 0x00099B7E File Offset: 0x00097D7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EvolveBuildReRandomStageScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000FF9 RID: 4089
		// (get) Token: 0x060037B2 RID: 14258 RVA: 0x00099B90 File Offset: 0x00097D90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EvolveBuildReRandomStageScRsp.Descriptor;
			}
		}

		// Token: 0x060037B3 RID: 14259 RVA: 0x00099B97 File Offset: 0x00097D97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildReRandomStageScRsp()
		{
		}

		// Token: 0x060037B4 RID: 14260 RVA: 0x00099BA0 File Offset: 0x00097DA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildReRandomStageScRsp(EvolveBuildReRandomStageScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.kNADMFGDFHL_ = ((other.kNADMFGDFHL_ != null) ? other.kNADMFGDFHL_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060037B5 RID: 14261 RVA: 0x00099BEC File Offset: 0x00097DEC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EvolveBuildReRandomStageScRsp Clone()
		{
			return new EvolveBuildReRandomStageScRsp(this);
		}

		// Token: 0x17000FFA RID: 4090
		// (get) Token: 0x060037B6 RID: 14262 RVA: 0x00099BF4 File Offset: 0x00097DF4
		// (set) Token: 0x060037B7 RID: 14263 RVA: 0x00099BFC File Offset: 0x00097DFC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17000FFB RID: 4091
		// (get) Token: 0x060037B8 RID: 14264 RVA: 0x00099C05 File Offset: 0x00097E05
		// (set) Token: 0x060037B9 RID: 14265 RVA: 0x00099C0D File Offset: 0x00097E0D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StageMergedInfo KNADMFGDFHL
		{
			get
			{
				return this.kNADMFGDFHL_;
			}
			set
			{
				this.kNADMFGDFHL_ = value;
			}
		}

		// Token: 0x060037BA RID: 14266 RVA: 0x00099C16 File Offset: 0x00097E16
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EvolveBuildReRandomStageScRsp);
		}

		// Token: 0x060037BB RID: 14267 RVA: 0x00099C24 File Offset: 0x00097E24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EvolveBuildReRandomStageScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.KNADMFGDFHL, other.KNADMFGDFHL) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060037BC RID: 14268 RVA: 0x00099C74 File Offset: 0x00097E74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.kNADMFGDFHL_ != null)
			{
				num ^= this.KNADMFGDFHL.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060037BD RID: 14269 RVA: 0x00099CC9 File Offset: 0x00097EC9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060037BE RID: 14270 RVA: 0x00099CD1 File Offset: 0x00097ED1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060037BF RID: 14271 RVA: 0x00099CDC File Offset: 0x00097EDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.kNADMFGDFHL_ != null)
			{
				output.WriteRawTag(18);
				output.WriteMessage(this.KNADMFGDFHL);
			}
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(24);
				output.WriteUInt32(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060037C0 RID: 14272 RVA: 0x00099D38 File Offset: 0x00097F38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.kNADMFGDFHL_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.KNADMFGDFHL);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060037C1 RID: 14273 RVA: 0x00099D90 File Offset: 0x00097F90
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EvolveBuildReRandomStageScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.kNADMFGDFHL_ != null)
			{
				if (this.kNADMFGDFHL_ == null)
				{
					this.KNADMFGDFHL = new StageMergedInfo();
				}
				this.KNADMFGDFHL.MergeFrom(other.KNADMFGDFHL);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060037C2 RID: 14274 RVA: 0x00099DF8 File Offset: 0x00097FF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060037C3 RID: 14275 RVA: 0x00099E04 File Offset: 0x00098004
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 18U)
				{
					if (num != 24U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					if (this.kNADMFGDFHL_ == null)
					{
						this.KNADMFGDFHL = new StageMergedInfo();
					}
					input.ReadMessage(this.KNADMFGDFHL);
				}
			}
		}

		// Token: 0x040015FD RID: 5629
		private static readonly MessageParser<EvolveBuildReRandomStageScRsp> _parser = new MessageParser<EvolveBuildReRandomStageScRsp>(() => new EvolveBuildReRandomStageScRsp());

		// Token: 0x040015FE RID: 5630
		private UnknownFieldSet _unknownFields;

		// Token: 0x040015FF RID: 5631
		public const int RetcodeFieldNumber = 3;

		// Token: 0x04001600 RID: 5632
		private uint retcode_;

		// Token: 0x04001601 RID: 5633
		public const int KNADMFGDFHLFieldNumber = 2;

		// Token: 0x04001602 RID: 5634
		private StageMergedInfo kNADMFGDFHL_;
	}
}
